class_name BulletBase
extends CharacterBody2D


var is_enemy: bool = false
var level: Level = null

@onready var hit_area: Area2D = $HitArea

@export var timeout_time: float = 5.0


func init_bullet_view():
	pass


func set_is_enemy(is_enemy: bool = false):
	self.is_enemy = is_enemy	
	

func process_move():
	move_and_slide()
	

func _physics_process(delta: float) -> void:
	process_move()
	process_hit()
	
	
func process_hit():
	pass
	
